<?php
add_action( 'widgets_init', 'zonthemes_widgets_init' );
/****End Add Location Widget****/
function zonthemes_widgets_init() {

	register_sidebar( array(
		'name'          => __( 'Primary Sidebar', 'zonthemes' ),
		'id'            => 'primary-sidebar',
		'description'   => 'List primary widget',
    	'class'         => '',
		'before_widget' => '<div id="%1$s" class="sidebar-box %2$s">',
		'after_widget'  => '</div>',
		'before_title'  => '<h2 class="sidebar-title">',
		'after_title'   => '</h2>'
	) );

	register_sidebar( array(
		'name'          => __( 'Home Sidebar', 'zonthemes' ),
		'id'            => 'home-sidebar',
		'description'   => 'List home widget',
    	'class'         => '',
		'before_widget' => '<div id="%1$s" class="sidebar-box %2$s">',
		'after_widget'  => '</div>',
		'before_title'  => '<h2 class="sidebar-title">',
		'after_title'   => '</h2>'
	) );

	register_sidebar( array(
		'name'          => __( 'Property Sidebar', 'zonthemes' ),
		'id'            => 'property-sidebar',
		'description'   => 'List property widget',
    	'class'         => '',
		'before_widget' => '<div id="%1$s" class="sidebar-box %2$s">',
		'after_widget'  => '</div>',
		'before_title'  => '<h2 class="sidebar-title">',
		'after_title'   => '</h2>'
	) );

	register_sidebar( array(
		'name'          => __( 'Taxonomy property Sidebar', 'zonthemes' ),
		'id'            => 'taxonomy-property-sidebar',
		'description'   => 'List taxonomy property widget',
    	'class'         => '',
		'before_widget' => '<div id="%1$s" class="sidebar-box %2$s">',
		'after_widget'  => '</div>',
		'before_title'  => '<h2 class="sidebar-title">',
		'after_title'   => '</h2>'
	) );

	register_sidebar( array(
		'name'          => __( 'Blog Sidebar', 'zonthemes' ),
		'id'            => 'blog-sidebar',
		'description'   => 'List blog widget',
    	'class'         => '',
		'before_widget' => '<div id="%1$s" class="sidebar-box %2$s">',
		'after_widget'  => '</div>',
		'before_title'  => '<h2 class="sidebar-title">',
		'after_title'   => '</h2>'
	) );

	register_sidebar( array(
		'name'          => __( 'Page Sidebar', 'zonthemes' ),
		'id'            => 'page-sidebar',
		'description'   => 'List page widget',
    	'class'         => '',
		'before_widget' => '<div id="%1$s" class="sidebar-box %2$s">',
		'after_widget'  => '</div>',
		'before_title'  => '<h2 class="sidebar-title">',
		'after_title'   => '</h2>'
	) );

}
?>